/**
 * @see [微信官方文档](https://mp.weixin.qq.com/debug/wxadoc/dev/api/api-video.html#wxcreatevideocontextvideoid)
 */
export default function playback_rate(video_context: wx.VideoContext, rate: 0.5 | 0.8 | 1 | 1.25 | 1.5) {
	return new Promise((resolve) => {
		video_context.playbackRate(rate);
		resolve(true);
	});
}
